package com.rc.saas.mini.minip.vo;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @Author: zcg
 * @CreateDate: 2022/8/16 23:04
 */
public class CityDataVo {

    @JsonProperty("name")
    private String name;
    @JsonProperty("log")
    private String log;
    @JsonProperty("lat")
    private String lat;
    @JsonProperty("children")
    private List<ChildrenDTO> children;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public List<ChildrenDTO> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenDTO> children) {
        this.children = children;
    }

    public static class ChildrenDTO {
        @JsonProperty("name")
        private String name;
        @JsonProperty("log")
        private String log;
        @JsonProperty("lat")
        private String lat;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLog() {
            return log;
        }

        public void setLog(String log) {
            this.log = log;
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }
    }
}
